package com.hurst

class InvoiceController {

    def index = {
        render(template: "/invoice/invoicePdf", model: [stuff:'hello'])
    }

    def pdf = {
        renderPdf(template: "/invoice/invoicePdf", model: [stuff:'hello'], filename: "invoice.pdf")
    }



}
